package com.woniu.zsd.platform.service;

import com.woniu.zsd.platform.dto.AnnouncementDto;
import com.woniu.zsd.platform.form.AddAnnouncementForm;
import com.woniu.zsd.platform.model.Announcement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.zsd.platform.param.AddAnnouncementParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangtao
 * @since 2025年02月18日
 */
public interface AnnouncementService extends IService<Announcement> {


    void publishAnnouncement(AddAnnouncementParam param,Integer accountId) throws Exception;

    List<AnnouncementDto> selectAnnouncement() throws Exception;

}
